/**
 * Author: Shen Yanqiu
 * Date: 2017-12-11
 * Time: 13:54
 *
 */
import { request } from 'utils';
import { api } from 'config';

// 执行创建组织
export async function doCreateOrganization (params) {
  return request({
    url: api.organization.doCreate,
    method: 'post',
    data: params,
  });
}
// 获取组织与部门
export async function getCommunity () {
  return request({
    url: api.organization.getCommunity,
    method: 'get',
  });
}

export async function checkHasOrganization () {
  
}
